Object is invalid or not set (Error 40011).

You attempted to assign a value using an object that was not Set.